/*
 * Video.java
 * 
 * Copyright©2012-2013 JMAS corporation. All rights reserved.
 */
package jp.co.jmas.jmasvideo.dao;

import java.io.Serializable;
import java.util.Date;

public class Video implements Serializable {
	/** Serial ID */
	private static final long serialVersionUID = 1L;

	/** key */
	private String key;

	/** title */
	private String title;

	/** description */
	private String desc;

	/** date */
	private Date date;

	/** duration(ms) */
	private long duration;

	/** file size */
	private long size;

	/** exipired date */
	private Date expired;

	/** 送信先園児 */
	@Deprecated
	transient private Student student;

	/**
	 * @return the key
	 */
	public String getKey() {
		return key;
	}

	/**
	 * @param key the key to set
	 */
	public void setKey(String key) {
		this.key = key;
	}

	/**
	 * @return the tite
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	/**
	 * @return the email
	 */
	public Date getDate() {
		return date;
	}

	/**
	 * @param email the email to set
	 */
	public void setDate(Date date) {
		this.date = date;
	}

	public long getDuration() {
		return duration;
	}

	public void setDuration(long duration) {
		this.duration = duration;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	public Date getExpired() {
		return expired;
	}

	public void setExpired(Date expired) {
		this.expired = expired;
	}

	@Deprecated
	public Student getStudent() {
		return student;
	}

	@Deprecated
	public void setStudent(Student student) {
		this.student = student;
	}
}
